package com.company.user.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel("部级表")
@TableName("tb_department")
public class DepartmentEntity implements Serializable {

    @ApiModelProperty("部级id")
    @TableId
    private String departmentId;
    @ApiModelProperty("部级名")
    private String departmentName;
    @ApiModelProperty("部级父id")
    private String departmentFid;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("修改时间")
    private Date updateTime;
    @ApiModelProperty("是否存在子集")
    private String subsetStatus;
    @ApiModelProperty("状态，0：正常，1：删除，2封禁")
    private Integer departmentStatus;
    @ApiModelProperty("删除标记，n未删除，y删除")
    private String isDel;


    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }


    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }


    public String getDepartmentFid() {
        return departmentFid;
    }

    public void setDepartmentFid(String departmentFid) {
        this.departmentFid = departmentFid;
    }


    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    public Integer getDepartmentStatus() {
        return departmentStatus;
    }

    public void setDepartmentStatus(Integer departmentStatus) {
        this.departmentStatus = departmentStatus;
    }

    public String getSubsetStatus() {
        return subsetStatus;
    }

    public void setSubsetStatus(String subsetStatus) {
        this.subsetStatus = subsetStatus;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }
}
